package cn.yj.cgs.dba.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 永健
 * @since 2021-04-19 16:12:11
 */
@Data
@Accessors(chain = true)
@TableName(value = "tb_user_views_agree")
public class UserViewsAgree implements Serializable{
    private static final long serialVersionUID = 1L;


    /**
     * <br>
     */
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * <br>
     */
    private String userCode;


    /**
     * <br>
     */
    private String articleNo;


    /**
     * <br>
     */
    private String type;

    public UserViewsAgree() {
    }

    public UserViewsAgree(String userCode, String articleNo, String type) {
        this.userCode = userCode;
        this.articleNo = articleNo;
        this.type = type;
    }
}

